export default {
  state: {
    sid: ''
  },
  mutations: {
    setSid (state, setSid) {
      state.setSid = setSid
    }
  },
  getters: {
    sid: state => state.sid
  },
  actions: {
    // 登录
    setSid ({ commit }, sid) {
      commit('setSid', sid)
    }
  }
}
